package cn.gz.lbs.entity;

import java.util.Date;

/**
 * TLbsHistory entity. @author MyEclipse Persistence Tools
 */

public class TLbsHistory implements java.io.Serializable {

//*********** Table Fields
//	  ID          NUMBER not null,
//	  USER_ID     NUMBER not null,
//	  MDN         VARCHAR2(20),
//	  CREATE_TIME DATE default SYSDATE,
//	  RESP_RESULT NUMBER,
	
//	  RESP_CODE   VARCHAR2(10),
//	  RESP_MEMO   VARCHAR2(100),
//	  REQ_TIME    DATE default SYSDATE,
//	  TRANC_TIMES INTEGER,
//	  SERVER_CODE VARCHAR2(15),
	
//	  REQ_CODE    VARCHAR2(20),  主叫
//	  LAC         VARCHAR2(30),
//	  CI          VARCHAR2(30),
//	  JINGDU      VARCHAR2(30),
//	  WEIDU       VARCHAR2(30),
	
//	  RESPFROM    NUMBER
//	  
	private Long id;
	private Long userId;
	private String mdn;
	private Date createTime;	
	private Byte respResult;
	

	private String respCode;
	private String respMemo;
	private Date reqTime;	
	private int trancTimes;  // 定位耗时 毫秒
	private String serverCode;
	
	private String orid; // 主叫
	private String cellLac;
	private String cellCi;
	private String jindu;
	private String weidu;
	
	
	private Short respForm; // 0：来源于总部响应；1：来源于缓存数据

	/**
	 * 定位请求类型 LIR 表示立即定位;LIRBat 表示批量定位;LTR 表示周期定位;
	 */
	private String reqType; // 值：LIR;LIRBat;LTR;

	// Constructors

	/** default constructor */
	public TLbsHistory() {
	}


	public Long getId() {
		return id;
	}


	public void setId(Long id) {
		this.id = id;
	}


	public Long getUserId() {
		return userId;
	}


	public void setUserId(Long userId) {
		this.userId = userId;
	}


	public String getMdn() {
		return mdn;
	}


	public void setMdn(String mdn) {
		this.mdn = mdn;
	}


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Byte getRespResult() {
		return respResult;
	}


	public void setRespResult(Byte respResult) {
		this.respResult = respResult;
	}


	public String getRespCode() {
		return respCode;
	}


	public void setRespCode(String respCode) {
		this.respCode = respCode;
	}


	public String getRespMemo() {
		return respMemo;
	}


	public void setRespMemo(String respMemo) {
		this.respMemo = respMemo;
	}


	public Date getReqTime() {
		return reqTime;
	}


	public void setReqTime(Date reqTime) {
		this.reqTime = reqTime;
	}


	public int getTrancTimes() {
		return trancTimes;
	}


	public void setTrancTimes(int trancTimes) {
		this.trancTimes = trancTimes;
	}


	public String getServerCode() {
		return serverCode;
	}


	public void setServerCode(String serverCode) {
		this.serverCode = serverCode;
	}


	public String getOrid() {
		return orid;
	}


	public void setOrid(String orid) {
		this.orid = orid;
	}


	public String getCellLac() {
		return cellLac;
	}


	public void setCellLac(String cellLac) {
		this.cellLac = cellLac;
	}


	public String getCellCi() {
		return cellCi;
	}


	public void setCellCi(String cellCi) {
		this.cellCi = cellCi;
	}


	public String getJindu() {
		return jindu;
	}


	public void setJindu(String jindu) {
		this.jindu = jindu;
	}


	public String getWeidu() {
		return weidu;
	}


	public void setWeidu(String weidu) {
		this.weidu = weidu;
	}


	public Short getRespForm() {
		return respForm;
	}


	public void setRespForm(Short respForm) {
		this.respForm = respForm;
	}


	/**
	 * @return the reqType
	 */
	public String getReqType() {
		return reqType;
	}


	/**
	 * @param 定位请求类型    LIR 表示立即定位;LIRBat 表示批量定位;LTR 表示周期定位;
	 */
	public void setReqType(String reqType) {
		this.reqType = reqType;
	}


	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("TLbsHistory [id=");
		builder.append(id);
		builder.append(", userId=");
		builder.append(userId);
		builder.append(", mdn=");
		builder.append(mdn);
		builder.append(", createTime=");
		builder.append(createTime);
		builder.append(", respResult=");
		builder.append(respResult);
		builder.append(", respCode=");
		builder.append(respCode);
		builder.append(", respMemo=");
		builder.append(respMemo);
		builder.append(", reqTime=");
		builder.append(reqTime);
		builder.append(", trancTimes=");
		builder.append(trancTimes);
		builder.append(", serverCode=");
		builder.append(serverCode);
		builder.append(", orid=");
		builder.append(orid);
		builder.append(", cellLac=");
		builder.append(cellLac);
		builder.append(", cellCi=");
		builder.append(cellCi);
		builder.append(", jindu=");
		builder.append(jindu);
		builder.append(", weidu=");
		builder.append(weidu);
		builder.append(", respForm=");
		builder.append(respForm);
		builder.append(", reqType=");
		builder.append(reqType);
		builder.append("]");
		return builder.toString();
	}
 
	
	
	
}